package edu.uwm.capstone.diasmart.types;

import edu.uwm.capstone.diasmart.database.DatabaseHelper;
import edu.uwm.capstone.diasmart.database.Entry;
import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.widget.TableRow;

public interface EditableEntryType extends EntryType{
	 public abstract String getKeyboardType();

	  public abstract TableRow[] getUserInterface(Activity paramActivity);

	  public abstract boolean handleOnActivityResult(Activity paramActivity, int paramInt1, int paramInt2, Intent paramIntent);

	  public abstract long save(DatabaseHelper paramDatabaseHelper, Entry paramEntry, View paramView);

	  public abstract int validate(View paramView);

	  public abstract int validate(EntryContext paramEntryContext, String paramString);
}
